import StorageTypeEnum from "@/module/storage/enumeration/StorageTypeEnum";
import Base from "@/entity/Base";
import StorageByWebDav from "./StorageByWebDav";

export default interface WebStorage extends Base {

    /**
     * 存储的名字
     */
    name: string;

    /**
     * 分组
     */
    group: string;

    /**
     * 描述
     */
    description: string;

    /**
     * 存储类型
     */
    type: StorageTypeEnum;

    /**
     * 排序
     */
    sort: number;

    /**
     * WebDav配置，当类型是webdav时有效
     */
    webdav: StorageByWebDav;

}